class CreateUserTypes < ActiveRecord::Migration
  def self.up
    create_table :user_types do |t|
      t.column "name", :string
    end
    
    UserType.create :name => "Writer"
    UserType.create :name => "Publisher"
    UserType.create :name => "Administrator"
  end

  def self.down
    drop_table :user_types
  end
end
